package create.prototype;

import java.io.Serializable;

/**
 * 注意：深度拷贝需要实现序列化
 */
public class Dog extends Animal implements Serializable{

	private static final long serialVersionUID = -1895898294386137762L;

	@Override
	public void breed() {
		System.out.println("--- dog --- ");		
	}
}
